package com.topisv.tms.entity.stock.moveStock;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.Version;

import com.topisv.tms.entity.IdEntity;

/**
 * 移库单
 */
@Entity
@Table(name = "move_stock_bill")
public class MoveStockBill extends IdEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private String billCode;
	private String warehouseCode;
	private String customerCode;
	private String outStockCode;
	private String outBoxCode;
	private String sku;
	private String goodsStatus;//sale:销售库存 unsale:不可销售库存
	private Integer outMoveNum;
	private String inStockCode;
	private String inBoxCode;
	private Integer inMoveNum;
	private String status;//移库单状态 new:新建 doing:移库中 finish:移库单完成
	private String skuName;
	private String customerName;
	private String warehouseName;
	
	private Date createTime;
	private String createBy;
	private Date updateTime;
	private String updateBy;
	
	private int version;
	
	public String getBillCode() {
		return billCode;
	}
	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}
	public String getWarehouseCode() {
		return warehouseCode;
	}
	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}
	public String getCustomerCode() {
		return customerCode;
	}
	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}
	public String getOutStockCode() {
		return outStockCode;
	}
	public void setOutStockCode(String outStockCode) {
		this.outStockCode = outStockCode;
	}
	public String getOutBoxCode() {
		return outBoxCode;
	}
	public void setOutBoxCode(String outBoxCode) {
		this.outBoxCode = outBoxCode;
	}
	public String getSku() {
		return sku;
	}
	public void setSku(String sku) {
		this.sku = sku;
	}
	public String getGoodsStatus() {
		return goodsStatus;
	}
	public void setGoodsStatus(String goodsStatus) {
		this.goodsStatus = goodsStatus;
	}
	public Integer getOutMoveNum() {
		return outMoveNum;
	}
	public void setOutMoveNum(Integer outMoveNum) {
		this.outMoveNum = outMoveNum;
	}
	public String getInStockCode() {
		return inStockCode;
	}
	public void setInStockCode(String inStockCode) {
		this.inStockCode = inStockCode;
	}
	public String getInBoxCode() {
		return inBoxCode;
	}
	public void setInBoxCode(String inBoxCode) {
		this.inBoxCode = inBoxCode;
	}
	public Integer getInMoveNum() {
		return inMoveNum;
	}
	public void setInMoveNum(Integer inMoveNum) {
		this.inMoveNum = inMoveNum;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	@Transient
	public String getSkuName() {
		return skuName;
	}
	public void setSkuName(String skuName) {
		this.skuName = skuName;
	}
	@Transient
	public String getCustomerName() {
		return customerName;
	}
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	@Transient
	public String getWarehouseName() {
		return warehouseName;
	}
	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}
	@Version
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	
	


	
	
}